package xyz.hubery.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.util.List;

@Data
@ApiModel(value = "交易市场")
public class TradeMarketVo {

    @ApiModelProperty("交易对")
    private String symbol;

    @ApiModelProperty("市场名称")
    private String name;

    @ApiModelProperty("图片")
    private String image;


    @ApiModelProperty("买入手续费")
    private BigDecimal buyFeeRate;

    @ApiModelProperty("卖出手续费")
    private BigDecimal sellFeeRate;

    /**
     * 价格小数位数
     */
    @ApiModelProperty(value = "价格小数位数")
    private int priceScale;

    @ApiModelProperty("数量小数位数")
    private int numScale;

    @ApiModelProperty("最小委托数量")
    private BigDecimal numMin;

    @ApiModelProperty("最大小数位数")
    private BigDecimal numMax;

    @ApiModelProperty("最小成交额")
    private BigDecimal tradeMin;

    @ApiModelProperty("最大成交额")
    private BigDecimal tradeMax;

    @ApiModelProperty("当前价")
    private BigDecimal price;

    @ApiModelProperty("价格单位")
    private String priceUnit;

    @ApiModelProperty("当前价(人民币)")
    private BigDecimal cnyPrice;

    @ApiModelProperty("报价货币人民币价格")
    private BigDecimal coinCnyPrice;

    @ApiModelProperty("合并深度")
    private List<MergeDeptVo> mergeDepth;

    @ApiModelProperty("最高价")
    private BigDecimal high;

    @ApiModelProperty("最低价")
    private BigDecimal low;

    @ApiModelProperty("日总交易量")
    private BigDecimal volume = BigDecimal.ZERO;

    @ApiModelProperty("日总成交额")
    private BigDecimal amount = BigDecimal.ZERO;

    @ApiModelProperty("涨幅")
    private double change;

    @ApiModelProperty("排序")
    private int sort;

}
